package com.practicesuite.systemlayer;

import java.io.Serializable;
import java.util.List;

/**
 * 
 * @author Ronald Brown
 *
 */
public class MedicalInformation implements Serializable{
	public int getUserID() {
		return userID;
	}

	public void setUserID(int userID) {
		this.userID = userID;
	}

	public String getPharmCarrier() {
		return pharmCarrier;
	}

	public void setPharmCarrier(String pharmCarrier) {
		this.pharmCarrier = pharmCarrier;
	}

	public String getAllergies() {
		return allergies;
	}
	
	public void setInsurance(String insurance) {
	    this.insurance = insurance;
	}
	
	public String getInsurance() {
	    return this.insurance;
	}

	public void setAllergies(String allergies) {
		this.allergies = allergies;
	}

	//Private variables
	private int userID;
	private String pharmCarrier;
	private String allergies;
    private String insurance;
	
	/**
	 * Default Constructor
	 * @param userID
	 * @param pharmCarrier
	 * @param allergies
	 */
	public MedicalInformation(int userID, String pharmCarrier, String allergies, String insurance) {
		this.userID = userID;
		this.pharmCarrier = pharmCarrier;
		this.allergies = allergies;
		this.insurance = insurance;
	}

    /**
     * To String Method
     */
    public String toString() {
        return "MedicalInformation [userID=" + userID + ", pharmCarrier="
                + pharmCarrier + ", allergies=" + allergies + "]";
    }
	
}
